<template>
	<tm-fullView>
		<view class="header blue" :class="isBlack?'grey-darken-6 bk':''">
			<view class="box" @click="navigateTo('/pages/user/info')">
				<tm-avatar :src="avatar" :outlined="true" :size="140" :shadow="4"></tm-avatar>
				<view class="nickname">
					{{$store.state.user.userInfo.nickname}}
				</view>
			</view>
		</view>
		<view class="body">
			<tm-grouplist title="" title-theme="blue text" :round="6">
				<tm-listitem  :title="$t('个人信息')" left-icon="fa-user" show-left-icon left-icon-color="#666666" @click="navigateTo('/pages/user/info')"></tm-listitem>
				<tm-listitem  :title="$t('收藏夹')" left-icon="icon-collection-fill" show-left-icon left-icon-color="#666666"></tm-listitem>
				<tm-listitem  :title="$t('朋友圈')" left-icon="fa-podcast" show-left-icon left-icon-color="#666666"></tm-listitem>
				<tm-listitem  :title="$t('设置')" left-icon="icon-cog-fill" show-left-icon left-icon-color="#666666" @click="navigateTo('/pages/user/settings')"></tm-listitem>
			</tm-grouplist>
		</view>
	</tm-fullView>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onShow() {
			this.setTabbar()
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.header{
	height: 500rpx;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: $uni-bg-color;
	&.black{
		
	}
	.box{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		.nickname{
			margin-top: 30rpx;
		}
	}
}
.body{
	position: relative;
	width: 750rpx;
	top: -80rpx;
}
</style>
